//
//  ICMRepairEventAndPartSearchViewController.h
//  ICrEAM
//
//  Created by FoREVer_SaD on 16/11/2.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ICMRepairEventAndPartSearchViewControllerDelegate <NSObject>

- (void)getSelectedRepairEvents:(NSMutableArray *)selectedEvents repairParts:(NSMutableArray *)selectedParts;

@end

@interface ICMRepairEventAndPartSearchViewController : UIViewController

@property (nonatomic, strong) NSString *selectedRepairType;

@property (nonatomic, assign) int selectIndex;

@property (nonatomic, weak) id<ICMRepairEventAndPartSearchViewControllerDelegate> delegate;

@property (nonatomic, assign) BOOL hasPartLeft;//有留存字段

@property (nonatomic, strong) NSMutableArray *existRepairEventArray;//已有的项目(已有的项目不能再在这里添加)
@property (nonatomic, strong) NSMutableArray *existRepairPartsArray;//已有的零件(已有的零件不能再在这里添加)

@property (nonatomic, strong) NSString *modelCode;

@end
